public class Main {
	public static void main(String[] args ) {
		double sum=0;
		int n=1;
		while(sum<=6)
		{
			sum=sum+1.0/n;
			n++;
		}
		System.out.println(n);
	}

}
